
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title><?=$title?></title>

    <!-- Bootstrap core CSS -->
    <link href="<?=base_url()?>resources/bootstrap/css/bootstrap.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="<?=base_url()?>resources/bootstrap/css/signin.css" rel="stylesheet">

  

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="<?=base_url()?>resources/bootstrap/js/ie10-viewport-bug-workaround.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="container">
	   <div class="text-center"><img src="<?=base_url()?>resources/admin/imgs/logo.png" title="logo" alt="logo"> </div>
      <form class="form-signin" role="form" action="<?=current_url()?>" method="post">
        <h4 class="form-signin-heading text-center">Identifiez - vous</h4>
        <input type="email" class="form-control" name="email" placeholder="courrier électronique" required autofocus>
        <input type="password" class="form-control" name="password" placeholder="mot de passe" required>
        <div class="checkbox">
          <label>
            <input type="checkbox" value="1" name="remember"> Reste connecté
          </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">connexion</button>
          <hr>
        <?php if(isset($login_error)){?>
        <div class="alert alert-danger alert-dismissible" role="alert">
      
  <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
  <strong>Attentions!</strong> <ol><?foreach( $login_error as $e ):?><li><?=$e?></li><?php endforeach;?></ol>
</div>
        <?php }?>
      </form>

    </div> <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  </body>
</html>
